package com.haidechizi.fastadmin.modules.code.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author wangdejun
 * @create 2020/10/30 14:13
 */
@Data
public class PropCodeConfig implements Serializable {
    private static final long serialVersionUID = 1415518889227268867L;

    @NotBlank(message = "资源类型不能为空")
    private String generatorType;
    @NotBlank(message = "文件路径不能为空")
    private String filePath;
    @NotNull(message = "目标语言不能为空")
    private List<String> languageTypeList;
    private String languageType;
    @NotBlank(message = "当前语言")
    private String currentLanguage;
    // 使用的翻译类型
    private String translateType;

    private String downloadPath;		// 下载路径
}
